import request from '@/utils/request'

//获取所有租房信息
export const queryAllRent = () => request.get('/rent')

//获取租房信息-根据id
export const queryOne = (data) => request.get('/rent/' + data)